package com.mybatiscore.jiaocheng.d03mybatis查询专项;

import com.mybatiscore.Mapper.StudentMapper;
import com.mybatiscore.Util.SqlSessionUtil;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class d05返回记录条数 {
    @Test
    public void selectShu(){
        SqlSession sqlSession = SqlSessionUtil.openSession();
        StudentMapper mapper = sqlSession.getMapper(StudentMapper.class);
        Long l = mapper.sselectShu();
        System.out.println(l);
    }
}
